package me.yushuai.wukong.base.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;

/**
 * 更新库位组信息的传输对象
 *
 * @author zhoushuai@189.cn
 * @since 2022-08-31
 */
@Data
@ToString
@EqualsAndHashCode
public class UpdateLocGroupDTO {
    /**
     * 库位组编号
     */
    private Long groupId;

    /**
     * 库位组编码
     */
    @NotEmpty(message = "{locGroup.locGroupCode.NotNull}")
    @Length(max = 10, message = "{locGroup.locGroupCode.Length}")
    private String bizId;

    /**
     * 中文描述
     */
    @NotEmpty(message = "{locGroup.descCh.NotNull}")
    @Length(max = 30, message = "{locGroup.descCh.Length}")
    private String descCh;

    /**
     * 仓库ID
     */
    private Long warehouseId;

    /**
     * 备注说明
     */
    private String notes;

    /**
     * 自定义01
     */
    @Length(max = 20, message = "{locGroup.udf01.Length}")
    private String udf01;

    /**
     * 自定义02
     */
    @Length(max = 20, message = "{locGroup.udf02.Length}")
    private String udf02;

    /**
     * 自定义03
     */
    @Length(max = 20, message = "{locGroup.udf03.Length}")
    private String udf03;

    /**
     * 自定义04
     */
    @Length(max = 20, message = "{locGroup.udf04.Length}")
    private String udf04;

    /**
     * 自定义05
     */
    @Length(max = 20, message = "{locGroup.udf05.Length}")
    private String udf05;

    /**
     * 自定义06
     */
    @Length(max = 20, message = "{locGroup.udf06.Length}")
    private String udf06;

    /**
     * 自定义07
     */
    @Length(max = 20, message = "{locGroup.udf07.Length}")
    private String udf07;

    /**
     * 自定义08
     */
    @Length(max = 20, message = "{locGroup.udf08.Length}")
    private String udf08;

    /**
     * 当前版本号
     */
    private Long curVerNo;

    /**
     * 操作流水号标记
     */
    private String oprSeqFg;

}